<template>
  <edit :content="content" @change="onChange"></edit>
</template>

<script lang="ts" setup>
import { ref } from 'vue'
import edit from '@/components/wangeditor.vue'

let content = $ref('<p>hello</p>')
function onChange(e: any) {
  content = e
  console.log(content)
}
</script>
